Germany's Andre Greipel timed his final burst to perfection to win the sixth stage of the Tour de France on Thursday when South Africa's Daryl Impey became the first African to wear the yellow jersey.